const {
	http
} = uni.$u

// 验证码
export const sendSms = (params, config = {}) => http.post('frontend/v1/auth/sendSms', params, config)
//登录
export const yzmLogin = (params, config = {}) => http.post('frontend/v1/auth/yzmLogin', params, config)
//场馆列表
export const venuelist = (params) => http.get('frontend/v1/venue/list', params)
//场馆下的 轮播图
export const bannerlist = (params, config = {}) => http.post('frontend/v1/venue/banner', params, config)
//场馆下的 票和卡
export const venuecard = (params, config = {}) => http.post('frontend/v1/venue/card', params, config)
//私教卡里的教练
export const teacherlist = (params, config = {}) => http.post('frontend/v1/teacher/list', params, config)
//我的订单
export const userorder = (params, config = {}) => http.post('frontend/v1/user/order', params, config)
//我的票
export const ticket = (params, config = {}) => http.post('frontend/v1/user/ticket', params, config)
//我的卡
export const card = (params, config = {}) => http.post('frontend/v1/user/card', params, config)
//场馆下的 票和卡-详情
export const cardDetail = (params, config = {}) => http.post('frontend/v1/venue/cardDetail', params, config)
//卡或票 订单创建
export const ordercreate = (params, config = {}) => http.post('frontend/v1/order/create', params, config)
//我的积分
export const myScore = (params, config = {}) => http.post('frontend/v1/score/myScore', params, config)
//积分兑换商品列表
export const haowuduihuan = (params, config = {}) => http.post('frontend/v1/score/haowuduihuan', params, config)
//积分明细
export const scorelist = (params, config = {}) => http.post('frontend/v1/score/list', params, config)
//积分签到
export const scoresign = (params, config = {}) => http.post('frontend/v1/score/sign', params, config)
//我的个人中心页面
export const userinfo = (params, config = {}) => http.post('frontend/v1/user/info', params, config)
//兑换商品详情
export const scoredetail = (params, config = {}) => http.post('frontend/v1/score/detail', params, config)
//发起兑换商品
export const addOrderWithScore = (params, config = {}) => http.post('frontend/v1/score/addOrderWithScore', params, config)
//我的卡 详情
export const usercardDetail = (params, config = {}) => http.post('frontend/v1/user/cardDetail', params, config)
//修改个人信息
export const changeInfo = (params, config = {}) => http.post('frontend/v1/user/changeInfo', params, config)
//公众号获取openid
export const getOpenid = (params, config = {}) => http.post('frontend/v1/wechat/official/getOpenid', params, config)
//我的兑换
export const scoreorder = (params, config = {}) => http.post('frontend/v1/score/order', params, config)